*/
function getTextFromRow( $row ) {
$fname = 'PageArchive::getTextFromRow';
-
+
if( is_null( $row->ar_text_id ) ) {
// An old row from MediaWiki 1.4 or previous.
// Text is embedded in this row in classic compression format.
return Revision::getRevisionText( $text );
}
}
-
+
/**
* Fetch (and decompress if necessary) the stored text of the most
);
$revision = null;
$newRevId = $previousRevId;
-
+
while( $row = $dbw->fetchObject( $result ) ) {
if( $row->ar_text_id ) {
// Revision was deleted in 1.5+; text is in
}
function execute() {
-
+
if( is_null( $this->mTargetObj ) ) {
return $this->showList();
}